package com.neusoft.nepm.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.neusoft.common.domain.AQIlevel;
import com.neusoft.nepm.mapper.AQIlevelMapper;
import com.neusoft.nepm.service.AQIlevelService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;


import java.util.List;

@Service
public class AQIlevelServiceImp extends ServiceImpl<AQIlevelMapper, AQIlevel> implements AQIlevelService {
    @Resource
    private AQIlevelMapper aqIlevelMapper;
    @Override
    public List<AQIlevel> getList() {
        return aqIlevelMapper.getList();
    }

    @Override
    public String getTip(int id) {
        return aqIlevelMapper.getTip(id);
    }

    @Override
    public String getMsg(int id) {
        return aqIlevelMapper.getMsg(id);
    }

    @Override
    public List<AQIlevel> SO2Test(float SO2) {
        return aqIlevelMapper.SO2Test(SO2);
    }

    @Override
    public List<AQIlevel> COTest(float CO) {
        return aqIlevelMapper.COTest(CO);
    }

    @Override
    public List<AQIlevel> PMTest(float PM) {
        return aqIlevelMapper.PMTest(PM);
    }
}
